package com.mano233.server.service;

import com.mano233.server.po.Events;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface EventService {
    void deleteEvent(int eid) throws Exception;

    int addEvent(int adminId);

    Events updateEvent(Events update, Events old);

    List<Events> getAll();

    List<Events> getAdminEvents(int adminId);

    Events getEventById(int id);

    void uploadFile(MultipartFile file);
}
